package com.xpsoft.oa.model.produce;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.AppUser;

/**
 * ArticleReceive Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class ArticleReceive extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected ArticleReg articleReg;
	@Expose
	protected String unit;
	@Expose
	protected String articleNo;
	@Expose
	protected String mainContent;
	@Expose
	protected java.util.Date receiveDate;
	@Expose
	protected AppUser receiveUser;
	@Expose
	protected AppUser operator;
	@Expose
	protected String finishLimit;
	@Expose
	protected AppUser createUser;
	@Expose
	protected java.util.Date createTime;


	/**
	 * Default Empty Constructor for class ArticleReceive
	 */
	public ArticleReceive () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class ArticleReceive
	 */
	public ArticleReceive (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public ArticleReg getArticleReg() {
		return articleReg;
	}

	public void setArticleReg(ArticleReg articleReg) {
		this.articleReg = articleReg;
	}

	/**
	 * 来件单位	 * @return String
	 * @hibernate.property column="unit" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getUnit() {
		return this.unit;
	}
	
	/**
	 * Set the unit
	 */	
	public void setUnit(String aValue) {
		this.unit = aValue;
	}	

	/**
	 * 来文编号	 * @return String
	 * @hibernate.property column="articleNo" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getArticleNo() {
		return this.articleNo;
	}
	
	/**
	 * Set the articleNo
	 */	
	public void setArticleNo(String aValue) {
		this.articleNo = aValue;
	}	

	/**
	 * 主要内容	 * @return String
	 * @hibernate.property column="mainContent" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getMainContent() {
		return this.mainContent;
	}
	
	/**
	 * Set the mainContent
	 */	
	public void setMainContent(String aValue) {
		this.mainContent = aValue;
	}	

	/**
	 * 收文日期	 * @return java.util.Date
	 * @hibernate.property column="receiveDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getReceiveDate() {
		return this.receiveDate;
	}
	
	/**
	 * Set the receiveDate
	 */	
	public void setReceiveDate(java.util.Date aValue) {
		this.receiveDate = aValue;
	}	


	/**
	 * 完成期限	 * @return String
	 * @hibernate.property column="finishLimit" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getFinishLimit() {
		return this.finishLimit;
	}
	
	/**
	 * Set the finishLimit
	 */	
	public void setFinishLimit(String aValue) {
		this.finishLimit = aValue;
	}	


	public AppUser getReceiveUser() {
		return receiveUser;
	}

	public void setReceiveUser(AppUser receiveUser) {
		this.receiveUser = receiveUser;
	}

	public AppUser getOperator() {
		return operator;
	}

	public void setOperator(AppUser operator) {
		this.operator = operator;
	}

	public AppUser getCreateUser() {
		return createUser;
	}

	public void setCreateUser(AppUser createUser) {
		this.createUser = createUser;
	}

	/**
	 * 	 * @return java.util.Date
	 * @hibernate.property column="createTime" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	
	/**
	 * Set the createTime
	 */	
	public void setCreateTime(java.util.Date aValue) {
		this.createTime = aValue;
	}

}
